
import { Injectable } from '@angular/core';
import { FormControl } from '@angular/forms';
import { Form, NgFormControl, NgChildForm, NgChildFormArray, NgValidateForm } from '@farris/devkit';
import { DateConverter, MultiLangConverter } from '@farris/kendo-binding';

@Injectable()
@NgValidateForm({
    formGroupName: '组织人员',
    enableValidate: false
})

@Injectable()
export class RightDataGridComponentViewmodelForm extends Form {
    @NgFormControl({
        id: 'code',
        name: "{{code_571f9c81_j8pe}}",
        binding: 'code',
        updateOn: 'blur',
        defaultI18nValue: '编号',
    })
    code: FormControl;

    @NgFormControl({
        id: 'name',
        name: "{{name_b5e0f4e3_322l}}",
        binding: 'name',
        updateOn: 'blur',
        defaultI18nValue: '名称',
    })
    name: FormControl;

    @NgFormControl({
        id: 'state',
        name: "{{state_cf4fbd07_tshy}}",
        binding: 'state',
        updateOn: 'blur',
        defaultI18nValue: '状态',
    })
    state: FormControl;

    @NgFormControl({
        id: 'organization',
        name: "{{organization_fc9962d4_giqo}}",
        binding: 'organization',
        updateOn: 'blur',
        defaultI18nValue: '组织',
    })
    organization: FormControl;

    @NgFormControl({
        id: 'gender',
        name: "{{gender_8f6b7737_uvul}}",
        binding: 'gender',
        updateOn: 'blur',
        defaultI18nValue: '性别',
    })
    gender: FormControl;

    @NgFormControl({
        id: 'countryOrArea',
        name: "{{countryOrArea_655a3ad6_wf3q}}",
        binding: 'countryOrArea',
        updateOn: 'blur',
        defaultI18nValue: '所属国家或地区',
    })
    countryOrArea: FormControl;

}